<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>练习</title>
    <style>
        .box{
            width: 600px;
            height: 375px;
            outline: 1px solid red;
            margin:150px auto 0;
            overflow: hidden;
        }
        .box img{
            width: 100%;
            transition: 0.3s;
        }
        .box:hover img{
            transform: scale(1.5) rotate(20deg);
            /* transform: rotate(45deg); */
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./img/156.jpg" alt="">
    </div>
</body>
</html>